package com.zhx.learn.simplespring.service.solo;

import com.zhx.learn.simplespring.entity.bo.ShopCategory;
import com.zhx.learn.simplespring.entity.dto.Result;

import java.util.List;

/**
 * @author zhanghaixuan
 * @date 2020-03-03 11:09
 */
public interface ShopCategoryService {
    Result<Boolean> addShopCategory(ShopCategory shopCategory);
    Result<Boolean> removeShopCategory(int shopCategoryId);
    Result<Boolean> modifyShopCategory(ShopCategory shopCategory);
    Result<ShopCategory> queryShopCategoryById(int shopCategoryId);
    Result<List<ShopCategory>> queryShopCategory(ShopCategory shopCategoryCondition, int pageIndex, int pageSize);
}
